package com.jic.purchase.model.entity;

import com.jic.common.base.vo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@ApiModel(description = " purchase_price ")
public class PurchasePrice extends BaseEntity {
	private static final long serialVersionUID = 1L;
    // @NotEmpty(message = "主键") 
    @ApiModelProperty(notes = "主键")
    private Long id;

    // @NotEmpty(message = "合同编码") 
    @ApiModelProperty(notes = "合同编码")
    private String contractCode;

    // @NotEmpty(message = "业务类型：1-采购单；2-代销单；3-经销单；") 
    @ApiModelProperty(notes = "业务类型：1-采购单；2-代销单；3-经销单；")
    private Integer busiType;

    // @NotEmpty(message = "根据业务类型不同，存入不同类型的编号，如果是采购单，则存采购单编码；") 
    @ApiModelProperty(notes = "根据业务类型不同，存入不同类型的编号，如果是采购单，则存采购单编码；")
    private String busiCode;

    // @NotEmpty(message = "采购供应商编码") 
    @ApiModelProperty(notes = "采购供应商编码")
    private String supplierCode;

    // @NotEmpty(message = "供应商名称") 
    @ApiModelProperty(notes = "供应商名称")
    private String supplierName;

    // @NotEmpty(message = "采购数量") 
    @ApiModelProperty(notes = "采购数量")
    private Integer puchaseNum;

    // @NotEmpty(message = "交易币别,CNY-人民币;USD-美元....") 
    @ApiModelProperty(notes = "交易币别,CNY-人民币;USD-美元....")
    private String tradeCurrency;

    // @NotEmpty(message = "产品编码") 
    @ApiModelProperty(notes = "产品编码")
    private String productCode;

    // @NotEmpty(message = "产品名称") 
    @ApiModelProperty(notes = "产品名称")
    private String productName;

    // @NotEmpty(message = "产品单位") 
    @ApiModelProperty(notes = "产品单位")
    private String productUnit;

    // @NotEmpty(message = "置换率") 
    @ApiModelProperty(notes = "置换率")
    private BigDecimal exchangeRate;

    // @NotEmpty(message = "条形码") 
    @ApiModelProperty(notes = "条形码")
    private String productBarNo;

    // @NotEmpty(message = "产品规格") 
    @ApiModelProperty(notes = "产品规格")
    private String productSize;

    // @NotEmpty(message = "税率") 
    @ApiModelProperty(notes = "税率")
    private BigDecimal taxRate;

    // @NotEmpty(message = "最小采购量") 
    @ApiModelProperty(notes = "最小采购量")
    private Integer minNum;

    // @NotEmpty(message = "最大采购量") 
    @ApiModelProperty(notes = "最大采购量")
    private Integer maxNum;

    // @NotEmpty(message = "是否包邮：0-不含；1-包含；") 
    @ApiModelProperty(notes = "是否包邮：0-不含；1-包含；")
    private Integer hasTransportPrice;

    // @NotEmpty(message = "转换率") 
    @ApiModelProperty(notes = "转换率")
    private String transferRate;

    // @NotEmpty(message = "运费") 
    @ApiModelProperty(notes = "运费")
    private BigDecimal transportPrice;

    // @NotEmpty(message = "原税率") 
    @ApiModelProperty(notes = "原税率")
    private BigDecimal originTaxRate;

    // @NotEmpty(message = "原不含税价格；") 
    @ApiModelProperty(notes = "原不含税价格；")
    private BigDecimal originAmountWithoutTax;

    // @NotEmpty(message = "原含税价格；") 
    @ApiModelProperty(notes = "原含税价格；")
    private BigDecimal originAmountWithTax;

    // @NotEmpty(message = "原起订量") 
    @ApiModelProperty(notes = "原起订量")
    private Integer originMinNum;

    // @NotEmpty(message = "原最大订货量") 
    @ApiModelProperty(notes = "原最大订货量")
    private Integer originMaxNum;

    // @NotEmpty(message = "原运输方式（1-铁路；2-空运；3-公路；4-河运；5-海运；6-其他）") 
    @ApiModelProperty(notes = "原运输方式（1-铁路；2-空运；3-公路；4-河运；5-海运；6-其他）")
    private Integer originTransportType;

    // @NotEmpty(message = "原是否包含运费(0-不含；1-包含)") 
    @ApiModelProperty(notes = "原是否包含运费(0-不含；1-包含)")
    private Integer originHasTransportPrice;

    // @NotEmpty(message = "创建人Id") 
    @ApiModelProperty(notes = "创建人Id")
    private Long creator;

    // @NotEmpty(message = "修改人Id") 
    @ApiModelProperty(notes = "修改人Id")
    private Long updater;

    // @NotEmpty(message = "创建人姓名") 
    @ApiModelProperty(notes = "创建人姓名")
    private String createrName;

    // @NotEmpty(message = "修改人姓名") 
    @ApiModelProperty(notes = "修改人姓名")
    private String updaterName;

    // @NotEmpty(message = "状态") 
    @ApiModelProperty(notes = "状态")
    private Integer status;

}
